
package com.dhcc.bpm.modules.content.service.impl;

import com.dhcc.bpm.modules.content.entity.HomePage;
import com.dhcc.bpm.modules.content.vo.HomePageVO;
import com.dhcc.bpm.modules.content.mapper.HomePageMapper;
import com.dhcc.bpm.modules.content.service.IHomePageService;
import com.dhcc.bpm.modules.content.vo.HomePageVO2;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName HomePageServiceImpl
 * @Description  门户首页管理 服务实现类
 * @Author lijiacheng
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */

@Service
public class HomePageServiceImpl extends BaseServiceImpl<HomePageMapper, HomePage> implements IHomePageService {

	@Override
	public IPage<HomePageVO> selectHomePagePage(IPage<HomePageVO> page, HomePageVO homePage) {
		return page.setRecords(baseMapper.selectHomePagePage(page, homePage));
	}

	@Override
	public IPage<HomePageVO2> selectHomePagePage2(IPage<HomePageVO2> page, HomePageVO2 homePage) {
		return page.setRecords(baseMapper.selectHomePagePage2(page, homePage));
	}

}
